package com.xc.hotelmgr.datahandlermt.service.mybatis.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xc.hotelmgr.datahandlermt.mapper.HtDailyroomMapper;
import com.xc.hotelmgr.datahandlermt.mapper.HtHotelinfoRemindMapper;
import com.xc.hotelmgr.datahandlermt.pojo.mybatis.HtDailyroom;
import com.xc.hotelmgr.datahandlermt.pojo.mybatis.HtHotelinfoRemind;
import com.xc.hotelmgr.datahandlermt.service.mybatis.HtHotelInfoRemindService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HtHotelInfoRemindServiceImpl extends ServiceImpl<HtHotelinfoRemindMapper, HtHotelinfoRemind> implements HtHotelInfoRemindService {

    @Autowired
    private HtHotelinfoRemindMapper htHotelinfoRemindMapper;

    @Override
    public List<HtHotelinfoRemind> listAll() {
        return htHotelinfoRemindMapper.listAll();
    }

    @Override
    public HtHotelinfoRemind getById(Long id) {
        return htHotelinfoRemindMapper.getById(id);
    }

    @Override
    public int insert(HtHotelinfoRemind htHotelinfoRemind) {
        return htHotelinfoRemindMapper.insert(htHotelinfoRemind);
    }

    @Override
    public int insertIgnoreNull(HtHotelinfoRemind htHotelinfoRemind) {
        return htHotelinfoRemindMapper.insertIgnoreNull(htHotelinfoRemind);
    }

    @Override
    public int update(HtHotelinfoRemind htHotelinfoRemind) {
        return htHotelinfoRemindMapper.update(htHotelinfoRemind);
    }

    @Override
    public int updateIgnoreNull(HtHotelinfoRemind htHotelinfoRemind) {
        return htHotelinfoRemindMapper.updateIgnoreNull(htHotelinfoRemind);
    }

    @Override
    public int delete(HtHotelinfoRemind htHotelinfoRemind) {
        return htHotelinfoRemindMapper.delete(htHotelinfoRemind);
    }
}
